package com.gkzf.ai.module.crm.controller.admin.creditReport.vo.creditreportbasic;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - CRM 征信报告基础 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CreditReportBasicRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "21156")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "姓名", example = "王五")
    @ExcelProperty("姓名")
    private String name;

    @Schema(description = "手机号", example = "131574893241")
    @ExcelProperty("手机号")
    private String phone;

    @Schema(description = "证件类型", example = "2")
    @ExcelProperty("证件类型")
    private String documentType;

    @Schema(description = "证件号码")
    @ExcelProperty("证件号码")
    private String idNumber;

    @Schema(description = "性别")
    @ExcelProperty("性别")
    private String gender;

    @Schema(description = "贷款目标(万元)")
    private BigDecimal loanObjective;

    @Schema(description = "通道1状态 0：解析中  1:解析完成  2：解析超市")
    private Integer status;

    @Schema(description = "婚姻状况", example = "1")
    @ExcelProperty("婚姻状况")
    private String marriageStatus;

    @Schema(description = "征信报告url", example = "https://www.iocoder.cn")
    @ExcelProperty("征信报告url")
    private String creditReportUrl;

    @Schema(description = "征信报告名称", example = "赵六")
    @ExcelProperty("征信报告名称")
    private String creditReportName;

    @Schema(description = "学历")
    @ExcelProperty("学历")
    private String education;

    @Schema(description = "二维码地址", example = "1")
    @ExcelProperty("二维码地址")
    private String qrCode;

    @Schema(description = "是否生成过二维码 0否 1是", example = "1")
    @ExcelProperty("是否生成过二维码 0否 1是")
    private Integer isSubmitQpCode;

    @Schema(description = "是否匹配 0:未匹配 1：已匹配", example = "0")
    @ExcelProperty("是否匹配 0:未匹配 1：已匹配")
    private String isMatch;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建人")
    private String createName;

    private String creator;

    private int exception = 0;

}